package com.slink.xin.common.util;

/**
 * 全局变
 * 
 * @author 新
 * 
 */
public class XinConstants
{

    // 
    public static final int someVar = 1;
    
    public static final Integer SOMEVAR2 = 0;

    
    public static enum Status
    {
    	off(0,"不在线"),idle(1,"空闲"),buz(2,"忙");
    	
    	private String name;
    	
    	private Integer index;
    	
    	private Status(Integer index,String name)
    	{
    		this.index=index;
    		this.name=name;
    	}
    	
    	
    	public String getName()
		{
			return name;
		}


		public void setName(String name)
		{
			this.name = name;
		}


		public Integer getIndex()
		{
			return index;
		}


		public void setIndex(Integer index)
		{
			this.index = index;
		}
    }
}
